package com.lb.api;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author liyinzuo
 * @since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiArrayData<T> {

    private List<T> array;

    public static void main(String[] args) {
        Map<Integer, Integer> indexTimes = new HashMap<>();
        indexTimes.put(1,5);
        indexTimes.put(2,5);
        indexTimes.put(3,5);
        indexTimes.put(4,5);
        indexTimes.put(5,5);
        indexTimes.put(6,5);
        System.out.println("奖品列表:" + JSONObject.toJSONString(indexTimes));
    }

}
